package models

import "gorm.io/gorm"

type Medical struct {
	gorm.Model
	Name     string `gorm:"type:varchar(30)" json:"name"`
	Sex      string `gorm:"type:varchar(30)" json:"sex"`
	Tel      string `gorm:"type:varchar(30)" json:"tel"`
	ZrDoctor string `gorm:"type:varchar(30)" json:"ZrDoctor"`
	Uptime   string `gorm:"type:varchar(30)" json:"uptime"`
	Number   int    `gorm:"type:int(20)" json:"number"`
	Cate     string `gorm:"type:varchar(30)" json:"cate"`
	State    string `gorm:"type:varchar(50)" json:"state"`
}

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:varchar(50)" json:"password"`
}
